$(function(){
    if(window.sessionStorage.getItem("code")==null||window.sessionStorage.getItem("code")==""){
        confirm("请先登录！");
        location="./login.html"
    }
})